<?php

namespace WechatSDK\Components;

/**
 * 消息发送接口
 * @author guibinyu
 * @date 2017-06-15 04:14:50
 */
interface Imessage//调度
{
      /** 消息回复类型 */
    const MSGTYPE_TEXT = 'text';
    const MSGTYPE_IMAGE = 'image';
    const MSGTYPE_VOICE = 'voice';
    const MSGTYPE_VIDEO = 'video';
    const MSGTYPE_NEWS = 'news';
    
    
    public function setTouser($users);
    public function getToUser();
    
    public function text($text);
    public function image($media_id);
    public function voice($media_id);
    public function video($video);
    
    public function news($news);
    
    public function message();
    public function send();
}
?>